package com.education.user.feign;


import com.education.common.pojo.OUserMaster;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "online-service")
@Service
public interface OnlineFeign {

    @RequestMapping(value = "/online/ousermaster/insert",method = RequestMethod.POST)
    public String insert(@RequestParam("context") String context,
                         @RequestParam("userID") Integer userID,
                         @RequestParam("people") Integer people);
}
